package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 学生信息对象 student_info
 * 
 * @author ruoyi
 * @date 2024-12-22
 */
public class StudentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String stuCode;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 所属班级 */
    @Excel(name = "所属班级")
    private String studentClassId;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 出生时间 */
    @Excel(name = "出生时间")
    private Date brithdayTime;

    /** 入学时间 */
    @Excel(name = "入学时间")
    private Date enterSchoolTime;

    /** 结业时间 */
    @Excel(name = "结业时间")
    private Date graduateTime;

    /** 学籍状态 */
    @Excel(name = "学籍状态")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStuCode(String stuCode) 
    {
        this.stuCode = stuCode;
    }

    public String getStuCode() 
    {
        return stuCode;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }

    public String getStudentClassId() {
        return studentClassId;
    }

    public void setStudentClassId(String studentClassId) {
        this.studentClassId = studentClassId;
    }

    public Date getBrithdayTime() {
        return brithdayTime;
    }

    public void setBrithdayTime(Date brithdayTime) {
        this.brithdayTime = brithdayTime;
    }

    public Date getEnterSchoolTime() {
        return enterSchoolTime;
    }

    public void setEnterSchoolTime(Date enterSchoolTime) {
        this.enterSchoolTime = enterSchoolTime;
    }

    public Date getGraduateTime() {
        return graduateTime;
    }

    public void setGraduateTime(Date graduateTime) {
        this.graduateTime = graduateTime;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuCode", getStuCode())
            .append("stuName", getStuName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("brithdayTime", getBrithdayTime())
            .append("enterSchoolTime", getEnterSchoolTime())
            .append("graduateTime", getGraduateTime())
            .append("status", getStatus())
            .toString();
    }
}
